package com.ark.service.mapper;

import com.ark.common.domain.entity.game.GameDevice;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GameDeviceMapper extends MPJBaseMapper<GameDevice> {
    /**
     * 批量删除设备
     * @param deviceIds
     * @return
     */
    int deleteDeviceByIds(Long[] deviceIds);

    /**
     * 获取设备列表
     * @param gameDevice 查询条件
     */
    List<GameDevice> getDeviceList(GameDevice gameDevice);
}
